package com.s10.ecloud.web.model;

// default package

import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "INDIVIDUAL_USER", catalog = "ECLOUD")
public class IndividualUser extends User implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	private Date birthday;

	public IndividualUser() {
	}

	public IndividualUser(String name, String gender, String personalid,
			String email, String phone) {

		setName(name);
		setGender(gender);
		setPersonalId(personalid);
		setEmail(email);
		setPhone(phone);
	}

	@Column(name = "BIRTHDAY", unique = false, nullable = true)
	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

}